import request from '@/utils/request.js'
/**
 * 获取角色
 * @param {*} data 
 * @returns 
 */
export function getRoles(data) { 
    return request({
        url: '/roles.json',
        headers: {
          isToken: false,
        },
        method: 'get',
        data: data,
      })
} 
  